package logica.estructural;

import java.util.ArrayList;

/***********************************************************************
 * Module:  Artista.java
 * Author:  dullC
 * Purpose: Defines the Class Artista
 ***********************************************************************/

/** @pdOid dad01927-33b0-4c80-8fa3-4c35d9da4b49 */
public class Artista {
	/** @pdOid 9d3bc1aa-8b2d-47f3-8f35-ab811d92503c */
	private String nomArt;
	public static ArrayList<Artista> artList = new ArrayList<Artista>();

	/**
	 * @pdRoleInfo migr=no name=Cancion assc=relationship1 mult=1..1
	 *             type=Composition
	 */
	private Cancion cancion;

	public Artista() {
	}

	public Artista(String nomArt, Cancion cancion) {
		this.nomArt = nomArt;
		this.cancion = cancion;
	}

	public String getNomArt() {
		return nomArt;
	}

	public void setNomArt(String nomArt) {
		this.nomArt = nomArt;
	}

	public Cancion getCancion() {
		return cancion;
	}

	public void setCancion(Cancion cancion) {
		this.cancion = cancion;
	}
	
	public static void clearList(ArrayList<Artista> artL){
		artL.clear();
	}

}